Link Search Menu Expand Document

Keyboard and Mouse

Функции


get_mouse_buttons

int get_mouse_buttons()

Returns the number of the mouse button that is currently pressed (1 - left, 2 - right, 3 - left+right, 4 - middle, 0 otherwise).


get_mouse_x

int get_mouse_x()

get_mouse_y

int get_mouse_y()

key_pressed

int key_pressed(int dxScancode)

tap_key

void tap_key(int dxScancode)